@font-face {
  font-family: "tttgbnumber";
  src: url("../../font/tttgbnumber.ttf");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

body {
  transform: scale(1);
  transform-origin: 0 0;
  font-family: "tttgbnumber";
  color: #28384d;
  font-size: 20px;
}

.container {
  width: 580px;
  height: 610px;
  background-image: url(../../img/other/bg.webp);
  background-size: 100% 100%;
  overflow: hidden;
  padding: 20px 50px;
}

.title-box {
  display: flex;
  position: relative;
  margin-bottom: 20px;
}
.title-box .info {
  font-size: 28px;
  padding: 10px 0;
}
.title-box .genshin_logo {
  position: absolute;
  top: 2px;
  right: 0px;
  width: 97px;
}
.info .month {
  font-size: 24px;
  font-weight: 600;
}
.title-box:after {
  content: "";
  display: block;
  position: absolute;
  height: 2px;
  top: 84px;
  left: 0;
  width: 470px;
  background: url()
    no-repeat 50% / cover;
}
.data-box {
  display: flex;
  margin-bottom: 10px;
}
.data-box .head {
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 24px;
}
.month .primogems {
  background: url() no-repeat;
  background-size: auto 100%;
  width: 265px;
  height: 60px;
  line-height: 60px;
  display: flex;
  align-items: center;
  margin-left: -10px;
}
.primogems .icon-ys {
  width: 40px;
  height: 40px;
  margin-left: 10px;
  background: url() no-repeat 50% / cover;;
}
.primogems .icon-mola {
  width: 40px;
  height: 40px;
  margin-left: 10px;
  background: url() no-repeat 50% / cover;
}
.primogems .text {
  margin-left: 18px;
  white-space:nowrap;
}
.day {
  margin-left: 10px;
}
.day .primogems {
  background: url() no-repeat;
  background-size: auto 100%;
  width: 260px;
  height: 60px;
  line-height: 60px;
  display: flex;
  align-items: center;
  margin-left: -15px;
}
.chart-box .chart-info {
  display: flex;
}
.chart-box .head {
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 24px;
}
#chartContainer {
  width: 240px;
  height: 240px;
  background: url(../../img/other/chart.png) no-repeat 50% / cover;
  margin-left: -5px;
}
.tooltip {
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tooltip li {
  list-style: none;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.tooltip li i {
  width: 10px;
  height: 10px;
  margin-right: 10px;
}
.tooltip li .action {
  width: 100px;
}
.tooltip li em {
  font-size: 20px;
  color: #28384d;
  font-style: normal;
  width: 50px;
}
.tooltip li .num {
  width: 10px;
}
